-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow OAuth 2.0 user defined file sources (w/Dropbox integration) #18272
Allow OAuth 2.0 user defined file sources (w/Dropbox integration) #18272
Conversation
2ba6a75
to
d8339fe
Compare
7ddf7db
to
b02e537
Compare
bdb037e
to
8a93354
Compare
8a93354
to
8df6893
Compare
This is very cool! Let me know when it's ready and I'd be happy to do some testing. |
b15652c
to
62137df
Compare
b2033a4
to
cbbd223
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jmchilton, this looks great. I appreciate it!
I tested it, and it’s running perfectly. I made a few minor tweaks and will build on this to enhance the UI in future PRs.
af3072d
to
1e6704a
Compare
1e6704a
to
2d735af
Compare
- UI for detailed display of errors. - UI option to test configuration from management menu. - API + UI for checking configuration before upgrading to new version of template. - API + UI for checking configuration before updating current template's settings. - Add an option during update/upgrade to allow forcing the update even if configuration doesn't validate - I don't allow creation of invalid things, but if there are problems with an existing thing - admins and power users should have recourse. It is their data.
…ile redirecting to the file source provider in `FileSources/CreateInstance`
… and show errors in `CreateUserFileSource` Co-authored-by: David López <[email protected]>
2d735af
to
c905259
Compare
Looks like the integration tests failures are relevant, I'll take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The remaining test failures are unrelated.
Thank you @jmchilton and @itisAliRH!
Wow - this is huge - thank you for the merge! |
Builds on #18222 (only the last commit is relevant to this PR beyond that one currently).
This implements oauth2 client capabilities with the user defined file sources framework. There would be some work to integrate this with user defined object stores also but that would be pretty minimal given the code overlap/shared abstractions used on the client and server.
This works currently more or less but I want to make sure it works with Scope requesting clients and on a second service so I going to wait until I've integrated a Google Drive plugin and documented that before taking it out of Draft/WIP.
This work integrates an initial oauth2 enabled plugin for Dropbox including admin documentation for how to configure it and how build and configure a Dropbox app within Dropbox for a Galaxy instance.
Documentation Screenshot
Documentation Screenshot
Documentation Screenshot
For oauth2 services - the plugin status framework has been updated to reflect some additional information. Hopefully we can use it down the road to know when refresh tokens need to be re-requested and such though nothing beyond initial creation and typical use is implemented here so far:
How to test the changes?
(Select all options that apply)
http://localhost:8081/oauth2_callback
in my local testing with themake client-dev-server
proxy.License